4D Chart v13

CT Get legend text

Home

 
4D Chart v13
CT Get legend text

CT Get legend text 


 

CT Get legend text ( area ; object ; legendItem ) -> Function result 
Parameter Type   Description
area  Longint in 4D Chart area
object  Longint in Object ID
legendItem  Integer in Legend item number
Function result  Text in Text of specified legend item

The CT Get legend text command returns the text of the specified legend item.

legendItem is the number of the series (or category for a pie chart) in the legend. However, if the legend order has been reversed, legendItem reflects the original order, not the reversed order.

Example  

This example returns the legend text of the first series in the chart specified by $ChartID.

 $Text:=CT Get legend text(Area;$ChartID;1)

 
PROPERTIES 

Product: 4D Chart
Theme: CT Chart
Number: 14593

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT GET LEGEND ATTRIBUTES
CT SET LEGEND ATTRIBUTES
CT SET LEGEND TEXT